<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition template="/resources/default/template/plantilla_home.xhtml">
        <ui:define name="head">
            <title>Home</title>
        </ui:define>


        <ui:define name="content">
            
            <h:form>
                <p:growl id="messages" showDetail="true"/>
                <h:panelGroup layout="block" style="display: inline-block;width: 45%;" rendered="true">
                    <h:inputText value="#{user_login.usuario}" styleClass="textfield"/><br/>
                </h:panelGroup>

                <h:panelGroup layout="block" style="display: inline-block;width: 45%;" rendered="true">
                    <h:inputSecret value="#{user_login.clave}" styleClass="textfield"/><br/>
                </h:panelGroup>

                <h:panelGroup layout="block" style="display: inline-block;width: 10%;" rendered="true">
                    <h:commandButton class="button" action="#{user_login.login}" value="Iniciar"/>
                </h:panelGroup>
            </h:form>
        </ui:define>
    </ui:composition>
</html>

